package com.dhcc.controller;

import java.util.Locale;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * Handles requests for the application home page.
 */
@Controller
public class HomeController {
	
	private static final Logger logger = LoggerFactory.getLogger(HomeController.class);
	
	/**
	 */
	@RequestMapping("/home")
	public String home(Locale locale, Model model) {
		return "login";
	}
	@RequestMapping("/main")
	public String toMain(){
		return "main";
	}
	@RequestMapping("/top")
	public String top(){
		return "top";
	}
	@RequestMapping("/left")
	public String left(){
		return "left";
	}
	@RequestMapping("/index")
	public String index(){
		return "index";
	}
	@RequestMapping("/footer")
	public String footer(){
		return "footer";
	}
}
